<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:http="http://www.w3.org/1999/xhtml"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!-- 网站主题 -->
    <meta name="subject" content="Seaguller的博客网站">
    <!-- 页面关键词 -->
    <meta name="keywords" content="web, 后端, spring boot, spring, java, 博客, 学习, 程序员, 编程, 个人中心">
    <!-- 页面描述内容 -->
    <meta name="description" content="Seaguller的博客个人中心~">
    <!-- 移动端优化 -->
    <meta name ="viewport" content ="initial-scale=1, maximum-scale=3, minimum-scale=1, user-scalable=no">
    <title>Seaguller的小窝~</title>

    <link href="https://cdn.bootcss.com/amazeui/2.7.2/css/amazeui.min.css" rel="stylesheet">
    <link href="../static/css/main.css" rel="stylesheet" />
    <link rel="stylesheet" href="https://dreamsky.github.io/main/blog/common/init.css">
    <link href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <link href="../static/css/article.css" rel="stylesheet"/>

    <link rel="stylesheet" href="../static/css/backStageUser.css">

</head>
<body>
    <!-- 标题栏 -->
    <div class="head-one">
        <header class="am-topbar am-topbar-inverse am-topbar-fixed-top">
            <div class="am-container">
                <div class="am-collapse am-topbar-collapse" id="doc-topbar-collapse-4">
                    <ul class="am-nav am-nav-pills am-topbar-nav">
                        <a id="header-text" href="/">Seaguller的小窝~</a>
                        <li id="li-main">
                            <a href="/" class="header-a-main" id="header-a-main-one">
                                <span class="am-icon-home">&nbsp;首&nbsp;&nbsp;页</span>
                            </a>
                        </li>
                        <li id="li-archive"><a href="/archive" class="header-a-main" id="header-a-main-archive"><span class="am-icon-archive">&nbsp;归&nbsp;&nbsp;档</span></a></li>
                        <li id="li-update"><a href="/update" class="header-a-main" id="header-a-main-update"><span class="am-icon-calendar-plus-o">&nbsp;更&nbsp;&nbsp;新</span></a></li>
                        <li id="li-music"><a href="/music" class="header-a-main" id="header-a-main-music"><span class="am-icon-music">&nbsp;音乐馆</span></a></li>
                        <li id="li-message"><a href="/messageBoard" class="header-a-main" id="header-a-main-message"><span class="am-icon-pencil">&nbsp;留言板</span></a></li>
                        <li id="li-friends"><a href="/friends" class="header-a-main" id="header-a-main-friends"><span class="am-icon-mars">&nbsp;友&nbsp;&nbsp;链</span></a></li>
                        <li id="li-aboutMe"><a href="/aboutMe" class="header-a-main" id="header-a-main-aboutMe"><span class="am-icon-paper-plane-o">&nbsp;关于俺</span></a></li>
                    </ul>
                    <div class="am-btn-group login-button-head"  th:unless="${#httpServletRequest.remoteUser}">
                        <div class="am-dropdown" data-am-dropdown>
                            <button class="am-btn am-dropdown-toggle login-button" data-am-dropdown-toggle> <span class="am-icon-user login-icon"></span></button>
                            <ul class="am-dropdown-content login-content">
                                <li><a href="/login" class="login-content-a"><span class="am-icon-leaf">&nbsp;&nbsp;&nbsp;登录</span></a></li>
                                <li><a href="/register" class="login-content-a"><span class="am-icon-user-plus">&nbsp;&nbsp;&nbsp;注册</span></a></li>
                                <li><a class="login-content-a doc-prompt-toggle"><span class="am-icon-bug">&nbsp;&nbsp;&nbsp;反馈</span></a></li>
                            </ul>
                        </div>
                    </div>

                    <div class="am-btn-group login-button-head"  th:if="${#httpServletRequest.remoteUser}">
                        <div class="am-dropdown" data-am-dropdown id="login-sign-drop">
                            <button class="am-btn am-btn-secondary am-topbar-btn am-btn-sm am-dropdown-toggle" data-am-dropdown-toggle id="login-sign-name">
                                <span id="login-user-name"></span>
                                <span class="am-icon-caret-down"></span>
                            </button>
                            <ul class="am-dropdown-content login-content login-content-b" id="login-content-ul">
                                <li><a href="/user" class="login-content-a"><span class="am-icon-leaf">&nbsp;&nbsp;&nbsp;个人中心</span></a></li>
                                <li sec:authorize="hasAnyRole('ROLE_ADMIN')"><a href="/admin" class="login-content-a"><span class="am-icon-cog">&nbsp;&nbsp;&nbsp;管理中心</span></a></li>
                                <li><a class="login-content-a doc-prompt-toggle"><span class="am-icon-bug">&nbsp;&nbsp;&nbsp;反&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;馈</span></a></li>
                                <hr id="log-hr"/>
                                <li><a href="/logout" class="login-content-a"><span class="am-icon-sign-out">&nbsp;&nbsp;&nbsp;退出登录</span></a></li>
                            </ul>
                        </div>
                        <button class="am-btn" id="login-button-circle" sec:authorize="hasAnyRole('ROLE_ADMIN')"><span id="login-button-write">写</span></button>
                    </div>
                </div>
            </div>
        </header>
    </div>
    <!-- 反馈窗口 -->
    <div class="am-modal am-modal-prompt " tabindex="-1" id="my-prompt">
        <div class="am-modal-dialog">
            <div class="am-modal-hd">反馈</div>
            <div class="am-modal-bd">
                你有什么要悄悄告诉我滴吗！(`・ω・´)
                <textarea maxlength="1000" id="feedback-text" style="resize:none;" class="am-modal-prompt-input private-conversation" placeholder="请填写您对本站的建议或者私下要对小弟说滴话~"></textarea>
                <br/>
                <textarea maxlength="50" style="resize:none;" id="feedback-contact" class="am-modal-prompt-input private-conversation-two" placeholder="方便留下您的联系方式咩？（选填）"></textarea>
            </div>
            <div class="am-modal-footer">
                <span class="am-modal-btn" id="feedback-submit" data-am-modal-confirm>提交</span>
                <span class="am-modal-btn" data-am-modal-cancel>取消</span>
            </div>


        </div>
    </div>

    <!-- 主体 -->
    <div>
        <div class="tpl-left-nav tpl-left-nav-hover">
            <div class="tpl-left-nav-list">
                <ul class="tpl-left-nav-menu">
                    <li class="tpl-left-nav-item">
                        <a class="nav-link active" id="user-menu-introduce">
                            <i class="am-icon-user"></i>
                            <span>&nbsp;&nbsp;个人资料</span>
                        </a>
                    </li>
                    <li class="tpl-left-nav-item">
                        <a href="javascript:;" class="nav-link tpl-left-nav-link-list" id="user-menu-password">
                            <i class="am-icon-key"></i>
                            <span>&nbsp;密码修改</span>
                        </a>
                    </li>
                    <li class="tpl-left-nav-item">
                        <a class="nav-link tpl-left-nav-link-list" id="user-menu-reply">
                            <i class="am-icon-wpforms"></i>
                            <span>&nbsp;&nbsp;评论回复</span>
                            <i class="tpl-left-nav-content tpl-badge-danger" id="user-menu-reply-count">
                                12
                            </i>
                        </a>
                    </li>
                    <li class="tpl-left-nav-item">
                        <a href="javascript:;" class="nav-link tpl-left-nav-link-list" id="user-menu-talk">
                            <i class="am-icon-heart-o"></i>
                            <span>&nbsp;悄悄话</span>
                        </a>
                    </li>
                </ul>
            </div>
        </div>
        <div class="tpl-right">
            <div class="user-head">
                <div class="user-head-text">头像更换</div>
                <hr style="width: 90%;"/>
                <img id="user-head-img" src="http://seaguller.oss-cn-beijing.aliyuncs.com/headImg/default/boy.jpg">
                <div class="user-head-button">
                    <a class="user-head-btn" >更改头像</a>
                    <input type="file" id="img-upload" onchange="imgChange(event)" accept=".gif,.jpg,.jpeg,.png" style="display: none;"/>
                </div>
            </div>
            <div class="user-name">
                <div class="user-name-text" style="margin-left: 34px;">昵  称</div>
                <input class="user-name-input" placeholder="要改一个更好听的名字呢~" type="text" value=""/>
                <div class="user-private-error" id="user-name-error"></div>
                <hr style="width: 90%; margin-top: -1px;"/>
            </div>
            <div class="user-phone">
                <div class="user-phone-text" style="margin-left: 34px;">手  机</div>
                <div class="user-phone-number"></div>
                <hr style="width: 90%;"/>
            </div>
            <div class="user-real-name">
                <div class="user-real-name-text" style="margin-left: 34px;">姓  名</div>
                <input class="user-real-name-input" placeholder="要不要向我透露真名捏" type="text"/>
                <hr style="width: 90%; margin-top: -1px;"/>
            </div>
            <div class="user-sex">
                <div class="user-sex-text" style="margin-left: 34px;">性  别</div>
                <div class="radio_input am-form-group am-form-group-sex user-sex-label" style="margin: 0 0 10px auto">
                    <label class="am-radio-inline">
                        <input data-am-ucheck="" name="gender" type="radio" value="male" class="am-ucheck-radio" checked><span class="am-ucheck-icons"><i class="am-icon-unchecked"></i><i class="am-icon-checked"></i></span><span class="am-ucheck-icons"><i class="am-icon-unchecked"></i><i class="am-icon-checked"></i></span>
                        <span class="fa fa-mars fa-lg"></span>
                    </label>
                    <label class="am-radio-inline" style="margin-left: 40px">
                        <input data-am-ucheck="" name="gender" type="radio" value="female" class="am-ucheck-radio"><span class="am-ucheck-icons"><i class="am-icon-unchecked"></i><i class="am-icon-checked"></i></span><span class="am-ucheck-icons"><i class="am-icon-unchecked"></i><i class="am-icon-checked"></i></span>
                        <span class="fa fa-venus fa-lg"></span>
                    </label>
                </div>
                <hr style="width: 90%;"/>
            </div>
            <div class="user-birthday">
                <div class="user-birthday-text" style="margin-left: 34px;">生  日</div>
                <input class="user-birthday-input" placeholder="叭填生日就要叫我小哥哥！" type="text" data-am-datepicker="{viewMode: 'years'}" readonly required/>
                <hr style="width: 90%; margin-top: -1px;"/>
            </div>
            <div class="user-email">
                <div class="user-email-text" style="margin-left: 34px;">邮  箱</div>
                <input class="user-email-input" placeholder="让我们回归写信滴生活叭！" type="text"/>
                <div class="user-private-error" id="user-email-error"></div>
                <hr style="width: 90%; margin-top: -1px;"/>
            </div>
            <div class="user-introduce">
                <div class="user-introduce-text">个人简介</div>
                <textarea class="user-introduce-input" placeholder="你有什么特别之处捏，嘻嘻嘻~"></textarea>
                <hr style="width: 90%;"/>
            </div>
            <div>
                <a id="user-personal-profile">更新</a>
            </div>
        </div>

    </div>

    <!-- 警告框 -->
    <div class="notice-box" >
        <i class="am-icon-exclamation-circle"></i>
        <span id="notice-box-text">有信息麻油按规则填写鸭~</span>
    </div>

    <!-- 页面拉伸 -->
    <div id="user-paper-white" style="margin-top: 1015px; height: 150px;"></div>

    <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
    <script src="https://cdn.bootcss.com/amazeui/2.7.2/js/amazeui.min.js"></script>
    <script src="../static/js/backStageUser.js" type="text/javascript"></script>
    <!-- 反馈弹窗 -->
    <script type="text/javascript">
        $(function() {
            $('.doc-prompt-toggle').on('click', function() {
                $("#feedback-text").val("");
                $('#my-prompt').modal({
                    relatedTarget: this
                });
            });
        });
    </script>

</body>
</html>